bootm: Align cache flush begin address
commit
b4d956f6bc0f ("bootm: Align cache flush end address correctly")
aligns the end address of the cache flush operation to a cache-line size to
ensure lower-layers in the code accept the range provided and flush.
A similar action should be taken for the begin address of a cache flush
operation. The load address may not be aligned to a cache-line boundary, so
ensure the passed address is aligned.
Signed-off-by: Bryan O'Donoghue <[email protected]>
Reported-by: Breno Matheus Lima <[email protected]>
Suggested-by: Tom Rini <[email protected]>
Cc: Simon Glass <[email protected]>
Tested-by: Breno Lima <[email protected]>
Reviewed-by: Simon Glass <[email protected]>